#include "./server.hpp"

int main(){
    Socket sock;
    sock.CreateClient(9001, "127.0.0.1");
    std::string msg = "hello";
    sock.Send(msg.c_str(), msg.size());
    DBG_LOG("sent msg: %s", msg.c_str());
    char buff[1024] = {0};
    sock.Recv(buff, sizeof(buff));
    DBG_LOG("rcv: %s", buff);
    return 0;
}